package com.project.configuration;

import java.util.Properties;

public class ConfigurationProvider {
	
	private static ConfigurationProvider instance;
	
	private Properties configuration;
	
	private ConfigurationProvider() {
		
	}
	
	public static ConfigurationProvider getInstance() {
		
		if (instance == null) {
			
			instance = new ConfigurationProvider();
		}
		
		return instance;
		
	}
	
	public void setConfiguration(Properties properties) {
		this.configuration = properties;
	}
	
	public Properties getConfiguration() {
		return this.configuration;
	}
}
